package com.rcklos.NettyLentMe.match;

import java.util.List;

public interface MatchContainerInterface {

    public void addQueueByUserId(String userId,String time);
    public String genToken();
    public long getTimeMillisFromToken(String token);
    public String genToken(List<String> users);
    public String getUserByToken( String token ,  String exceptUserid);
    public List<String> getUsersByToken(String token);
    public String getTokenByUserid( String userid );
    public void removeTokenByUserid( String userid );
    public boolean isQueueContainsUserAndContainsToken( String userid );
}
